require is not define on html script

97

require is not define on html script -

mainWindow = new BrowserWindow({
        webPreferences: {
            nodeIntegration: true
        }
    });

Comments

Submit
0 Comments